package com.cqsw.bbs.mapper;

import com.cqsw.bbs.entity.Forum;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ForumMapper {
    int insertForum(Forum forum);
    List<Forum> queryForum(@Param("tagId") Integer tagId,@Param("id") Integer id, @Param("page")Integer page , @Param("count") Integer count);
    int queryForumCount(@Param("tagId")Integer tagId);

}